Apply patch by Vytautas Liuolia for changing the startup notification id
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 13 Mar 2007 17:03:54 +0000 (17:03 +0000)
committerEmmanuele Bassi <ebassi@src.gnome.org>
Tue, 13 Mar 2007 17:03:54 +0000 (17:03 +0000)
commit87c28d778aeb173bede7a88029c76ccf5da04c09
treea22bce1482aa547f6d66e06797987c5f4cf097d4
parent500435f2f95c0fcc5fa3e49fa8c7814e5046aaf5
Apply patch by Vytautas Liuolia for changing the startup notification id

2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>

Apply patch by Vytautas Liuolia for changing the startup
notification id on a window in the X11 backend. (#347375)

* gdk/gdk.h:
* gdk/gdkx.h:
* gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_wit_id()
and gdk_x11_display_get_startup_notification_id().

* gdk/gdkwindow.h:
* gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().

* gtk/gtkwindow.h:
* gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
change the startup notification id.

(gtk_window_class_init), (gtk_window_init),
(gtk_window_set_property): Add write-only "startup-id" property
to GtkWindow.

(gtk_window_realize): Set the startup notification id
on a GtkWindow if it's valid.

(gtk_window_map): If we have another valid startup notification
id then finish the notification process.

svn path=/trunk/; revision=17508
ChangeLog
gdk/gdk.h
gdk/gdkwindow.h
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkx.h
gtk/gtkwindow.c
gtk/gtkwindow.h